package com.liunian.subject.infra.basic.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.liunian.subject.infra.basic.entity.SubjectCategory;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SubjectCategoryMapper extends BaseMapper<SubjectCategory> {

    List<SubjectCategory> queryCategory(@Param("params") SubjectCategory subjectCategory);

    int updateCategory(@Param("params") SubjectCategory subjectCategory);
}
